package com.usian.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-01-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("car_feature_mapping")
public class CarFeatureMapping implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 车辆ID（与cars表中的car_id关联）
     */
    @TableId(value = "car_id", type = IdType.AUTO)
    private Integer carId;

    /**
     * 车辆特性ID（与car_features表中的feature_id关联）
     */
    private Integer featureId;


}
